<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Open SCA: runtime_env/rte_utils/include/utils.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.onetek.net"><img alt="Logo" src="openscaLogo.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Open SCA
   &#160;<span id="projectnumber">Version 0.6.0</span>
   </div>
   <div id="projectbrief">Open SCA</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('utils_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">utils.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="utils_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/***************************************************************************/</span><span class="comment">/****************************************************************************/</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#if !defined __UTILS_H_</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#define __UTILS_H_</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &lt;string.h&gt;</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &lt;netinet/in.h&gt;</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#include &lt;arpa/inet.h&gt;</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#include &lt;unistd.h&gt;</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="macros_8h.html">macros.h</a>&quot;</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_config_parser_8h.html">ConfigParser.h</a>&quot;</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_time_delay_8h.html">TimeDelay.h</a>&quot;</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="rte__debug_8h.html">rte_debug.h</a>&quot;</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_boost__utils_8h.html">Boost_utils.h</a>&quot;</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="utils_8h.html#a5d159604a50245fb06aded60959871d3">   37</a></span>&#160;<span class="preprocessor">#define SDS_SLEEP                               1000000</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#define ULONG_MAX_SIZE                          10</span></div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="utils_8h.html#a0d540b2206d032632888180a173363ed">   40</a></span>&#160;<span class="preprocessor">#define TASK_PARAMS_COUNT                       6</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="utils_8h.html#ac05e110519a529835cda3d3663dcd2c0">   42</a></span>&#160;<span class="preprocessor">#define MAX_MESSAGE_NUM                         1000</span></div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="utils_8h.html#ab234d1358562b66925fb7223c087556b">   43</a></span>&#160;<span class="preprocessor">#define MAX_MESSAGE_LENGTH                      2048</span></div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="utils_8h.html#a27ba71ea2da4bc4f585a9ba306628ce0">   45</a></span>&#160;<span class="preprocessor">#define MSG_Q_WAIT                              0</span></div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="utils_8h.html#aeecfbddb4604375581a72d1c91e41d61">   46</a></span>&#160;<span class="preprocessor">#define MSG_Q_NOWAIT                            1</span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">#ifdef __SDS_OS_LINUX__</span></div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor">#define ERROR                                   -1</span></div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="preprocessor">#define OK                                      0</span></div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="utils_8h.html#a943029b091a5aa761447fd1764497c9b">   53</a></span>&#160;<span class="preprocessor">#define swap16(s)                               ((((s) &amp; 0x00ff) &lt;&lt; 8) | \</span></div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="preprocessor">                                                (((s) &amp; 0xff00) &gt;&gt; 8))</span></div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="utils_8h.html#a54e6f9cc9dfe87328d17e011d7b274bb">   56</a></span>&#160;<span class="preprocessor">#define swap32(s)                               ((((s) &amp; 0x000000ff) &lt;&lt; 24) |  \</span></div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="preprocessor">                                                (((s) &amp; 0x0000ff00) &lt;&lt;  8) |   \</span></div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="preprocessor">                                                (((s) &amp; 0x00ff0000) &gt;&gt;  8) |   \</span></div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="preprocessor">                                                (((s) &amp; 0xff000000) &gt;&gt; 24))</span></div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="utils_8h.html#ac216a9649fea6d37c1dceb9b7912a616">   61</a></span>&#160;<span class="preprocessor">#define LocalToBigEndian_16(s)                  (IsBigEndian() ? s : swap16(s))</span></div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="utils_8h.html#a90887ae78cadb2e47e8457a2bd7ef8b5">   62</a></span>&#160;<span class="preprocessor">#define LocalToBigEndian_32(s)                  (IsBigEndian() ? s : swap32(s))</span></div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="utils_8h.html#a5723aaca8135c7c4d45149abeff0240c">   63</a></span>&#160;<span class="preprocessor">#define BigToLocalEndian_16(s)                  (IsBigEndian() ? s : swap16(s))</span></div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="utils_8h.html#a7e140d2b73d75a63c059857bc475da60">   64</a></span>&#160;<span class="preprocessor">#define BigToLocalEndian_32(s)                  (IsBigEndian() ? s : swap32(s))</span></div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="utils_8h.html#a2f2d937560dec6bc3f8ba1f71b863982">   66</a></span>&#160;<span class="preprocessor">#define LocalToLeastEndian_16(s)                (IsBigEndian() ? swap16(s) : s)</span></div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="utils_8h.html#a35be9bffbfd7e5854228f094a6211d5c">   67</a></span>&#160;<span class="preprocessor">#define LocalToLeastEndian_32(s)                (IsBigEndian() ? swap32(s) : s)</span></div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="utils_8h.html#a076f5273e7df906756e614d02e35a672">   68</a></span>&#160;<span class="preprocessor">#define LeastToLocalEndian_16(s)                (IsBigEndian() ? swap16(s) : s)</span></div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="utils_8h.html#a664cc122f1ed2de3405965402ea5bb51">   69</a></span>&#160;<span class="preprocessor">#define LeastToLocalEndian_32(s)                (IsBigEndian() ? swap32(s) : s)</span></div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="utils_8h.html#a62e10752c18d199ca2c7802105ba5520">   71</a></span>&#160;<span class="preprocessor">#define ETH_ADDR_MAP_PROP_ID                    &quot;DCE:e809635d-5fae-42e5-bb10- \</span></div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="preprocessor">                                                    177f736b4b15:1&quot;</span></div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="utils_8h.html#a9651c734f37bb14386ac96c21cb07e65">   73</a></span>&#160;<span class="preprocessor">#define SRIO_ADDR_MAP_PROP_ID                   &quot;DCE:438247b3-473f-485c-a6f6- \</span></div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="preprocessor">                                                    8efc237f2fe6:1&quot;</span></div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="utils_8h.html#a432f2a98600a53163b89563b186f7325">   75</a></span>&#160;<span class="preprocessor">#define INSTANCE_NUM_PROP_ID                    &quot;DCE:c5a4caf4-1acb-4301-baf1- \</span></div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="preprocessor">                                                    6c398e9aa743:1&quot;</span></div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="utils_8h.html#acd6a14495a11f7bdaebe24eb60dc91aa">   77</a></span>&#160;<span class="preprocessor">#define MAIN_CTRL_MHAL_SRIO_PORT_ID             &quot;DCE:fc601789-b6bf-4b64-8c49- \</span></div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="preprocessor">                                                    733793f50f14:1&quot;</span></div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="utils_8h.html#a0f7ed8be01d9d02f2416946d2fb62081">   79</a></span>&#160;<span class="preprocessor">#define HEARTBEAT_REQUEST_PROP_ID               &quot;DCE:a289ce03-be97-4dfd-a1b0- \</span></div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="preprocessor">                                                    4c7a5c8c0a56:1&quot;</span></div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;</div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="utils_8h.html#aa4ad864432c6bc40c6c1e6bf31f0b31c">   82</a></span>&#160;<span class="preprocessor">#define ADD_ADDR_MAP                            0x01</span></div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="utils_8h.html#a8e31bdaeab63ad2e223949781c48a2c0">   83</a></span>&#160;<span class="preprocessor">#define DEL_ADDR_MAP                            0x02</span></div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="utils_8h.html#aa3aff1cbf15063201a0324c52b73d20e">   84</a></span>&#160;<span class="preprocessor">#define SINGLE_ETH_ADDR_MAP_ITEM_LENGTH         8</span></div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="utils_8h.html#a3b1de4beaf0f41bb67a0c928730dd575">   85</a></span>&#160;<span class="preprocessor">#define SINGLE_SRIO_ADDR_MAP_ITEM_LENGTH        4</span></div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="utils_8h.html#ac227f24e88f63f759fe6761a204b718e">   86</a></span>&#160;<span class="preprocessor">#define LOGICAL_ADDR_LENGTH                     2</span></div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="utils_8h.html#aa260ab80a81c539e927eac639a22af3b">   87</a></span>&#160;<span class="preprocessor">#define ETH_PHYSICAL_ADDR_LENGTH                6</span></div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="utils_8h.html#ab88fe664e48bba3f7cd1a313fb1fd7cc">   88</a></span>&#160;<span class="preprocessor">#define SRIO_PHYSICAL_ADDR_LENGTH               2</span></div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="utils_8h.html#a190fa12528634510d89e65323fb88d69">   90</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">char</span>    <a class="code" href="utils_8h.html#a190fa12528634510d89e65323fb88d69">c6</a>[6];</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;</div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="utils_8h.html#a905608829db39e7f1c7d2c251f1be6f4">   92</a></span>&#160;<span class="preprocessor">#define HEARTBEAT_REQUEST_EVENT                 1</span></div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="utils_8h.html#aa9dfc70b814fbec9184c5160e16fbccd">   93</a></span>&#160;<span class="preprocessor">#define MAX_CONTINOUS_DETECTED_BROKEN_TIMES     2</span></div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;<span class="preprocessor">#ifdef __SDS_OS_VXWORKS__</span></div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">int</span> pid_type;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;<span class="preprocessor">#elif defined __SDS_OS_LINUX__</span></div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="keyword">typedef</span> pid_t pid_type;</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="keyword">typedef</span> std::map&lt;std::string, pid_t&gt; PidMap;</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div><div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="struct_eth_phy_addr_type.html">  103</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="struct_eth_phy_addr_type.html#a1d20fa0861ae7672cfb59985861f5205">  104</a></span>&#160;    <a class="code" href="utils_8h.html#a190fa12528634510d89e65323fb88d69">c6</a> <a class="code" href="struct_eth_phy_addr_type.html#a1d20fa0861ae7672cfb59985861f5205">ethPhyAddr</a>;</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;} <a class="code" href="struct_eth_phy_addr_type.html">EthPhyAddrType</a>;</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;</div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="struct_task_params_type.html">  110</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span></div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;{</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span></div><div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="struct_task_params_type.html#a0e6bad33fea7188cb2d06d1e45ce3caf">  113</a></span>&#160;    <a class="code" href="struct_task_params_type.html#a0e6bad33fea7188cb2d06d1e45ce3caf">stackSize</a>;                  </div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="struct_task_params_type.html#a08a88e1a4174408d667435f1c9854664">  114</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="struct_task_params_type.html#a08a88e1a4174408d667435f1c9854664">priority</a>;     </div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="struct_task_params_type.html#a7e7d3193f196a95104a9b671412c58a6">  115</a></span>&#160;    <span class="keywordtype">char</span>* <a class="code" href="struct_task_params_type.html#a7e7d3193f196a95104a9b671412c58a6">entryPoint</a>;           </div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;} <a class="code" href="struct_task_params_type.html">TaskParamsType</a>;</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;</div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="namespace_c_o_n_s_t_a_n_t.html">  118</a></span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_c_o_n_s_t_a_n_t.html">CONSTANT</a> {</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="namespace_c_o_n_s_t_a_n_t.html#a3239fb87215ad73d0f60b81c62f03da2">FSROOT</a>;</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="namespace_c_o_n_s_t_a_n_t.html#a817837bca0c63cbd569427dd33f78fdc">SDRROOT</a>;</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="namespace_c_o_n_s_t_a_n_t.html#abe62d58a59ab887bf0c437bcb1b27118">NAMING_SERVICE_SPDPATH</a>;</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="namespace_c_o_n_s_t_a_n_t.html#a80db6d5d63c79d48a0eb48470a69f03b">EVENT_SERVICE_SPDPATH</a>;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="namespace_c_o_n_s_t_a_n_t.html#a2bb6cfcc7b30bb6b049887056e7c039f">MAINDCDPATH</a>;</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="namespace_c_o_n_s_t_a_n_t.html#ad7847c211da5f866989c9a050634fbf4">DMDPATH</a>;</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="namespace_c_o_n_s_t_a_n_t.html#a234f2bf4b0d8d543699fbb1a218c25e4">MOUNTPOINT</a>;</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="namespace_c_o_n_s_t_a_n_t.html#a30a0a81efb4f73a8fb963a08d3328ded">OPENSCA_DOMAIN</a>;</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="namespace_c_o_n_s_t_a_n_t.html#a9b73f458bda16061a6f2d26142dd7d17">APPLICATIONS</a>;</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="namespace_c_o_n_s_t_a_n_t.html#add55ed503a3fabb5d840ee205411d886">NODES</a>;</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="namespace_c_o_n_s_t_a_n_t.html#a1deeef06f06b20c1a886164194611a8d">FILEMANAGER</a>;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="namespace_c_o_n_s_t_a_n_t.html#aa0d9d6c4e1652bf478467f136bda7b07">MAIN_NODE</a>;</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="namespace_c_o_n_s_t_a_n_t.html#ab9283eb46c5595f151a3ef8d2741bc1b">DEBUGLEVEL</a>;</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="namespace_c_o_n_s_t_a_n_t.html#aa5c7f5297fa33b0ad386b3aba6dc1981">HEALTH_PROP_ID</a>;</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="namespace_c_o_n_s_t_a_n_t.html#a794b94aa20c368aa40831432957a2eef">IS_BOARD_PROP_ID</a>;</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="namespace_c_o_n_s_t_a_n_t.html#a47585e84f40d8bf54406239cca01d5d2">AGGREGATE_SERVICE_SPDPATH</a>;</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="namespace_c_o_n_s_t_a_n_t.html#a9e8fe1428450e2a99428bf3cc1eef275">HEARTBEAT_DETECTION_SERVICE</a>;</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="namespace_c_o_n_s_t_a_n_t.html#a4a56d40af662591f9c81a9a3d948f4fd">KEYPATH</a>;</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="namespace_c_o_n_s_t_a_n_t.html#acdd6824fd344b79eea01ca9ab4f2d10d">SNFILE</a>;</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="namespace_c_o_n_s_t_a_n_t.html#a6ae9aa896d7c38fc50e61cb12e6c52ac">NAMING_SERVICE_ENDPOINTS</a>;</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;}</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="preprocessor">#ifdef __SDS_OS_LINUX__</span></div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">int</span> MsgQId;</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;<span class="preprocessor">#elif defined __SDS_OS_VXWORKS__</span></div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<span class="keyword">typedef</span> MSG_Q_ID MsgQId;</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;<span class="keyword">extern</span> MsgQId <a class="code" href="utils_8h.html#a223b0ba11d1f398a30ce0ecfbb8894d6">loadMsgQueue</a>;</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<span class="preprocessor">#ifdef __SDS_OS_VXWORKS__</span></div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;<span class="keyword">extern</span> SEM_ID domainMgrMtx;</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;<span class="keyword">extern</span> SEM_ID devMgrMtx;</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;<span class="keyword">extern</span> SEM_ID sysMgrMtx;</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> </div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<a class="code" href="utils_8h.html#a4a12b5414feea9fdd8448086d9ba8c28">delete2DArray</a>(</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;    <span class="keywordtype">int</span> argc, </div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;    <span class="keywordtype">char</span> ** argv);</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">bool</span> </div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<a class="code" href="utils_8h.html#ad4cdb360d419e3769354050e5b67b65b">createMsgQueue</a>(</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;    MsgQId &amp; msgQId);</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">bool</span> </div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;<a class="code" href="utils_8h.html#ab9b59a2593019c5817984f326bbe95d3">msgSend</a>(</div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;    MsgQId msgId, </div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;    <span class="keywordtype">char</span> * msg, </div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> msgSize);</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;</div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> </div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;<a class="code" href="utils_8h.html#a846317330d3fc0b53320ecdda3cc500e">msgReceive</a>(</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;    MsgQId msgId, </div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;    <span class="keywordtype">char</span> * msg, </div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> msgSize, </div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;    <span class="keywordtype">int</span> flag);</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;</div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">bool</span> </div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;<a class="code" href="utils_8h.html#a8114cf8b4a7d811d8d566a6db277573d">delMsgQueue</a>(</div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;    MsgQId qid);</div><div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;</div><div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">bool</span> </div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;<a class="code" href="utils_8h.html#ac6ab566aa4b7764fb0cbcaab5afab089">IsBigEndian</a>();</div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;</div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">char</span> * </div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;<a class="code" href="utils_8h.html#a06d995e3a20e2021fa6d90a90cd123ae">IntTOStr</a>(</div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;    <span class="keywordtype">int</span> num);</div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;</div><div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> </div><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;<a class="code" href="utils_8h.html#aaa90b588aeda6f7aff18278f81ac1b87">showErrnoInfo</a>();</div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;</div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">bool</span> </div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;<a class="code" href="utils_8h.html#a1a9ea9c5f1ad157d6ac1e1d3b5f7f1bc">checkIpFormat</a>(</div><div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> * ip);</div><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;</div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">bool</span> </div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;<a class="code" href="utils_8h.html#aecfe7fa9f13fe81c166fd06dbdedff5f">checkHexFormat</a>(</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> * hexStr);</div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;</div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">bool</span> </div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;<a class="code" href="utils_8h.html#ae23e27b2e899cddbb051a52e9b8dd617">hexConvertToDec</a>(</div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> * hexStr, </div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;    <span class="keywordtype">short</span> &amp; result);</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;</div><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">bool</span> </div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;<a class="code" href="utils_8h.html#ae23e27b2e899cddbb051a52e9b8dd617">hexConvertToDec</a>(</div><div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> * hexStr, </div><div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> &amp; result);</div><div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;</div><div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">bool</span> </div><div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;<a class="code" href="utils_8h.html#ae23e27b2e899cddbb051a52e9b8dd617">hexConvertToDec</a>(</div><div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> * hexStr, </div><div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;    <span class="keywordtype">long</span> &amp; result);</div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;</div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">bool</span> </div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;<a class="code" href="utils_8h.html#ae23e27b2e899cddbb051a52e9b8dd617">hexConvertToDec</a>(</div><div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> * hexStr, </div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> &amp; result);</div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;std::string</div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;<a class="code" href="utils_8h.html#a0a9f47dc8c5e4dd35d67b78da7aee223">replaceFileNameofPath</a>(</div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span>* fullPath,</div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span>* fileName);</div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;</div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;<a class="code" href="utils_8h.html#adfd91ed7f342b3be4ba2104bd371c3f8">setConfigFilePathToSHM</a>(</div><div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> * path);</div><div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;</div><div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;<a class="code" href="utils_8h.html#a71e47746a18092a8d5836779673d17cb">getConfigFilePathFromSHM</a>(</div><div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;    <span class="keywordtype">char</span> * path,</div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;    <span class="keywordtype">int</span> size);</div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;</div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;<span class="preprocessor">#endif //_LIBCF_UTILS_H_</span></div><div class="ttc" id="namespace_c_o_n_s_t_a_n_t_html_a9e8fe1428450e2a99428bf3cc1eef275"><div class="ttname"><a href="namespace_c_o_n_s_t_a_n_t.html#a9e8fe1428450e2a99428bf3cc1eef275">CONSTANT::HEARTBEAT_DETECTION_SERVICE</a></div><div class="ttdeci">const char * HEARTBEAT_DETECTION_SERVICE</div></div>
<div class="ttc" id="struct_task_params_type_html_a7e7d3193f196a95104a9b671412c58a6"><div class="ttname"><a href="struct_task_params_type.html#a7e7d3193f196a95104a9b671412c58a6">TaskParamsType::entryPoint</a></div><div class="ttdeci">char * entryPoint</div><div class="ttdoc">task&amp;#39;s entry point </div><div class="ttdef"><b>Definition:</b> <a href="utils_8h_source.html#l00115">utils.h:115</a></div></div>
<div class="ttc" id="namespace_c_o_n_s_t_a_n_t_html_a6ae9aa896d7c38fc50e61cb12e6c52ac"><div class="ttname"><a href="namespace_c_o_n_s_t_a_n_t.html#a6ae9aa896d7c38fc50e61cb12e6c52ac">CONSTANT::NAMING_SERVICE_ENDPOINTS</a></div><div class="ttdeci">const char * NAMING_SERVICE_ENDPOINTS</div></div>
<div class="ttc" id="namespace_c_o_n_s_t_a_n_t_html_a4a56d40af662591f9c81a9a3d948f4fd"><div class="ttname"><a href="namespace_c_o_n_s_t_a_n_t.html#a4a56d40af662591f9c81a9a3d948f4fd">CONSTANT::KEYPATH</a></div><div class="ttdeci">const char * KEYPATH</div></div>
<div class="ttc" id="utils_8h_html_aaa90b588aeda6f7aff18278f81ac1b87"><div class="ttname"><a href="utils_8h.html#aaa90b588aeda6f7aff18278f81ac1b87">showErrnoInfo</a></div><div class="ttdeci">void showErrnoInfo()</div></div>
<div class="ttc" id="utils_8h_html_a0a9f47dc8c5e4dd35d67b78da7aee223"><div class="ttname"><a href="utils_8h.html#a0a9f47dc8c5e4dd35d67b78da7aee223">replaceFileNameofPath</a></div><div class="ttdeci">std::string replaceFileNameofPath(const char *fullPath, const char *fileName)</div></div>
<div class="ttc" id="_time_delay_8h_html"><div class="ttname"><a href="_time_delay_8h.html">TimeDelay.h</a></div><div class="ttdoc">:  </div></div>
<div class="ttc" id="utils_8h_html_a71e47746a18092a8d5836779673d17cb"><div class="ttname"><a href="utils_8h.html#a71e47746a18092a8d5836779673d17cb">getConfigFilePathFromSHM</a></div><div class="ttdeci">void getConfigFilePathFromSHM(char *path, int size)</div><div class="ttdoc">get opensca.conf path. </div></div>
<div class="ttc" id="utils_8h_html_a846317330d3fc0b53320ecdda3cc500e"><div class="ttname"><a href="utils_8h.html#a846317330d3fc0b53320ecdda3cc500e">msgReceive</a></div><div class="ttdeci">int msgReceive(MsgQId msgId, char *msg, unsigned int msgSize, int flag)</div><div class="ttdoc">The operation shall receive message from specific message queue. </div></div>
<div class="ttc" id="utils_8h_html_aecfe7fa9f13fe81c166fd06dbdedff5f"><div class="ttname"><a href="utils_8h.html#aecfe7fa9f13fe81c166fd06dbdedff5f">checkHexFormat</a></div><div class="ttdeci">bool checkHexFormat(const char *hexStr)</div><div class="ttdoc">The operation check whether the input parameter is accord with the format of Hex. ...</div></div>
<div class="ttc" id="utils_8h_html_a223b0ba11d1f398a30ce0ecfbb8894d6"><div class="ttname"><a href="utils_8h.html#a223b0ba11d1f398a30ce0ecfbb8894d6">loadMsgQueue</a></div><div class="ttdeci">MsgQId loadMsgQueue</div></div>
<div class="ttc" id="utils_8h_html_a8114cf8b4a7d811d8d566a6db277573d"><div class="ttname"><a href="utils_8h.html#a8114cf8b4a7d811d8d566a6db277573d">delMsgQueue</a></div><div class="ttdeci">bool delMsgQueue(MsgQId qid)</div><div class="ttdoc">The operation shall delete the specific message queue. </div></div>
<div class="ttc" id="namespace_c_o_n_s_t_a_n_t_html_aa0d9d6c4e1652bf478467f136bda7b07"><div class="ttname"><a href="namespace_c_o_n_s_t_a_n_t.html#aa0d9d6c4e1652bf478467f136bda7b07">CONSTANT::MAIN_NODE</a></div><div class="ttdeci">const char * MAIN_NODE</div></div>
<div class="ttc" id="namespace_c_o_n_s_t_a_n_t_html_ab9283eb46c5595f151a3ef8d2741bc1b"><div class="ttname"><a href="namespace_c_o_n_s_t_a_n_t.html#ab9283eb46c5595f151a3ef8d2741bc1b">CONSTANT::DEBUGLEVEL</a></div><div class="ttdeci">const char * DEBUGLEVEL</div></div>
<div class="ttc" id="namespace_c_o_n_s_t_a_n_t_html_a1deeef06f06b20c1a886164194611a8d"><div class="ttname"><a href="namespace_c_o_n_s_t_a_n_t.html#a1deeef06f06b20c1a886164194611a8d">CONSTANT::FILEMANAGER</a></div><div class="ttdeci">const char * FILEMANAGER</div></div>
<div class="ttc" id="utils_8h_html_a4a12b5414feea9fdd8448086d9ba8c28"><div class="ttname"><a href="utils_8h.html#a4a12b5414feea9fdd8448086d9ba8c28">delete2DArray</a></div><div class="ttdeci">void delete2DArray(int argc, char **argv)</div></div>
<div class="ttc" id="namespace_c_o_n_s_t_a_n_t_html_a3239fb87215ad73d0f60b81c62f03da2"><div class="ttname"><a href="namespace_c_o_n_s_t_a_n_t.html#a3239fb87215ad73d0f60b81c62f03da2">CONSTANT::FSROOT</a></div><div class="ttdeci">const char * FSROOT</div></div>
<div class="ttc" id="macros_8h_html"><div class="ttname"><a href="macros_8h.html">macros.h</a></div><div class="ttdoc">:  </div></div>
<div class="ttc" id="struct_task_params_type_html_a0e6bad33fea7188cb2d06d1e45ce3caf"><div class="ttname"><a href="struct_task_params_type.html#a0e6bad33fea7188cb2d06d1e45ce3caf">TaskParamsType::stackSize</a></div><div class="ttdeci">unsigned long stackSize</div><div class="ttdoc">stack size the task needs </div><div class="ttdef"><b>Definition:</b> <a href="utils_8h_source.html#l00113">utils.h:113</a></div></div>
<div class="ttc" id="utils_8h_html_a1a9ea9c5f1ad157d6ac1e1d3b5f7f1bc"><div class="ttname"><a href="utils_8h.html#a1a9ea9c5f1ad157d6ac1e1d3b5f7f1bc">checkIpFormat</a></div><div class="ttdeci">bool checkIpFormat(const char *ip)</div><div class="ttdoc">The operation check whether the input parameter is accord with the format of ip address. </div></div>
<div class="ttc" id="namespace_c_o_n_s_t_a_n_t_html_a80db6d5d63c79d48a0eb48470a69f03b"><div class="ttname"><a href="namespace_c_o_n_s_t_a_n_t.html#a80db6d5d63c79d48a0eb48470a69f03b">CONSTANT::EVENT_SERVICE_SPDPATH</a></div><div class="ttdeci">const char * EVENT_SERVICE_SPDPATH</div></div>
<div class="ttc" id="namespace_c_o_n_s_t_a_n_t_html_aa5c7f5297fa33b0ad386b3aba6dc1981"><div class="ttname"><a href="namespace_c_o_n_s_t_a_n_t.html#aa5c7f5297fa33b0ad386b3aba6dc1981">CONSTANT::HEALTH_PROP_ID</a></div><div class="ttdeci">const char * HEALTH_PROP_ID</div></div>
<div class="ttc" id="namespace_c_o_n_s_t_a_n_t_html_a9b73f458bda16061a6f2d26142dd7d17"><div class="ttname"><a href="namespace_c_o_n_s_t_a_n_t.html#a9b73f458bda16061a6f2d26142dd7d17">CONSTANT::APPLICATIONS</a></div><div class="ttdeci">const char * APPLICATIONS</div></div>
<div class="ttc" id="namespace_c_o_n_s_t_a_n_t_html_a30a0a81efb4f73a8fb963a08d3328ded"><div class="ttname"><a href="namespace_c_o_n_s_t_a_n_t.html#a30a0a81efb4f73a8fb963a08d3328ded">CONSTANT::OPENSCA_DOMAIN</a></div><div class="ttdeci">const char * OPENSCA_DOMAIN</div></div>
<div class="ttc" id="utils_8h_html_a190fa12528634510d89e65323fb88d69"><div class="ttname"><a href="utils_8h.html#a190fa12528634510d89e65323fb88d69">c6</a></div><div class="ttdeci">char c6[6]</div><div class="ttdef"><b>Definition:</b> <a href="utils_8h_source.html#l00090">utils.h:90</a></div></div>
<div class="ttc" id="namespace_c_o_n_s_t_a_n_t_html_a234f2bf4b0d8d543699fbb1a218c25e4"><div class="ttname"><a href="namespace_c_o_n_s_t_a_n_t.html#a234f2bf4b0d8d543699fbb1a218c25e4">CONSTANT::MOUNTPOINT</a></div><div class="ttdeci">const char * MOUNTPOINT</div></div>
<div class="ttc" id="struct_eth_phy_addr_type_html"><div class="ttname"><a href="struct_eth_phy_addr_type.html">EthPhyAddrType</a></div><div class="ttdef"><b>Definition:</b> <a href="utils_8h_source.html#l00103">utils.h:103</a></div></div>
<div class="ttc" id="utils_8h_html_ab9b59a2593019c5817984f326bbe95d3"><div class="ttname"><a href="utils_8h.html#ab9b59a2593019c5817984f326bbe95d3">msgSend</a></div><div class="ttdeci">bool msgSend(MsgQId msgId, char *msg, unsigned int msgSize)</div><div class="ttdoc">The operation shall send a message to specific message queue. </div></div>
<div class="ttc" id="utils_8h_html_ad4cdb360d419e3769354050e5b67b65b"><div class="ttname"><a href="utils_8h.html#ad4cdb360d419e3769354050e5b67b65b">createMsgQueue</a></div><div class="ttdeci">bool createMsgQueue(MsgQId &amp;msgQId)</div><div class="ttdoc">The operation shall create a message queue. </div></div>
<div class="ttc" id="rte__debug_8h_html"><div class="ttname"><a href="rte__debug_8h.html">rte_debug.h</a></div><div class="ttdoc">:  </div></div>
<div class="ttc" id="namespace_c_o_n_s_t_a_n_t_html_abe62d58a59ab887bf0c437bcb1b27118"><div class="ttname"><a href="namespace_c_o_n_s_t_a_n_t.html#abe62d58a59ab887bf0c437bcb1b27118">CONSTANT::NAMING_SERVICE_SPDPATH</a></div><div class="ttdeci">const char * NAMING_SERVICE_SPDPATH</div></div>
<div class="ttc" id="struct_task_params_type_html_a08a88e1a4174408d667435f1c9854664"><div class="ttname"><a href="struct_task_params_type.html#a08a88e1a4174408d667435f1c9854664">TaskParamsType::priority</a></div><div class="ttdeci">unsigned long priority</div><div class="ttdoc">task&amp;#39;s priority </div><div class="ttdef"><b>Definition:</b> <a href="utils_8h_source.html#l00114">utils.h:114</a></div></div>
<div class="ttc" id="struct_task_params_type_html"><div class="ttname"><a href="struct_task_params_type.html">TaskParamsType</a></div><div class="ttdoc">Params task needs. </div><div class="ttdef"><b>Definition:</b> <a href="utils_8h_source.html#l00110">utils.h:110</a></div></div>
<div class="ttc" id="utils_8h_html_ac6ab566aa4b7764fb0cbcaab5afab089"><div class="ttname"><a href="utils_8h.html#ac6ab566aa4b7764fb0cbcaab5afab089">IsBigEndian</a></div><div class="ttdeci">bool IsBigEndian()</div></div>
<div class="ttc" id="struct_eth_phy_addr_type_html_a1d20fa0861ae7672cfb59985861f5205"><div class="ttname"><a href="struct_eth_phy_addr_type.html#a1d20fa0861ae7672cfb59985861f5205">EthPhyAddrType::ethPhyAddr</a></div><div class="ttdeci">c6 ethPhyAddr</div><div class="ttdef"><b>Definition:</b> <a href="utils_8h_source.html#l00104">utils.h:104</a></div></div>
<div class="ttc" id="namespace_c_o_n_s_t_a_n_t_html_a817837bca0c63cbd569427dd33f78fdc"><div class="ttname"><a href="namespace_c_o_n_s_t_a_n_t.html#a817837bca0c63cbd569427dd33f78fdc">CONSTANT::SDRROOT</a></div><div class="ttdeci">const char * SDRROOT</div></div>
<div class="ttc" id="namespace_c_o_n_s_t_a_n_t_html_a47585e84f40d8bf54406239cca01d5d2"><div class="ttname"><a href="namespace_c_o_n_s_t_a_n_t.html#a47585e84f40d8bf54406239cca01d5d2">CONSTANT::AGGREGATE_SERVICE_SPDPATH</a></div><div class="ttdeci">const char * AGGREGATE_SERVICE_SPDPATH</div></div>
<div class="ttc" id="_boost__utils_8h_html"><div class="ttname"><a href="_boost__utils_8h.html">Boost_utils.h</a></div><div class="ttdoc">:  </div></div>
<div class="ttc" id="_config_parser_8h_html"><div class="ttname"><a href="_config_parser_8h.html">ConfigParser.h</a></div><div class="ttdoc">:  </div></div>
<div class="ttc" id="namespace_c_o_n_s_t_a_n_t_html_acdd6824fd344b79eea01ca9ab4f2d10d"><div class="ttname"><a href="namespace_c_o_n_s_t_a_n_t.html#acdd6824fd344b79eea01ca9ab4f2d10d">CONSTANT::SNFILE</a></div><div class="ttdeci">const char * SNFILE</div></div>
<div class="ttc" id="namespace_c_o_n_s_t_a_n_t_html_a2bb6cfcc7b30bb6b049887056e7c039f"><div class="ttname"><a href="namespace_c_o_n_s_t_a_n_t.html#a2bb6cfcc7b30bb6b049887056e7c039f">CONSTANT::MAINDCDPATH</a></div><div class="ttdeci">const char * MAINDCDPATH</div></div>
<div class="ttc" id="namespace_c_o_n_s_t_a_n_t_html_a794b94aa20c368aa40831432957a2eef"><div class="ttname"><a href="namespace_c_o_n_s_t_a_n_t.html#a794b94aa20c368aa40831432957a2eef">CONSTANT::IS_BOARD_PROP_ID</a></div><div class="ttdeci">const char * IS_BOARD_PROP_ID</div></div>
<div class="ttc" id="utils_8h_html_ae23e27b2e899cddbb051a52e9b8dd617"><div class="ttname"><a href="utils_8h.html#ae23e27b2e899cddbb051a52e9b8dd617">hexConvertToDec</a></div><div class="ttdeci">bool hexConvertToDec(const char *hexStr, short &amp;result)</div><div class="ttdoc">Convert hex string to dec number whose type is short. </div></div>
<div class="ttc" id="namespace_c_o_n_s_t_a_n_t_html"><div class="ttname"><a href="namespace_c_o_n_s_t_a_n_t.html">CONSTANT</a></div><div class="ttdef"><b>Definition:</b> <a href="utils_8h_source.html#l00118">utils.h:118</a></div></div>
<div class="ttc" id="namespace_c_o_n_s_t_a_n_t_html_add55ed503a3fabb5d840ee205411d886"><div class="ttname"><a href="namespace_c_o_n_s_t_a_n_t.html#add55ed503a3fabb5d840ee205411d886">CONSTANT::NODES</a></div><div class="ttdeci">const char * NODES</div></div>
<div class="ttc" id="utils_8h_html_adfd91ed7f342b3be4ba2104bd371c3f8"><div class="ttname"><a href="utils_8h.html#adfd91ed7f342b3be4ba2104bd371c3f8">setConfigFilePathToSHM</a></div><div class="ttdeci">void setConfigFilePathToSHM(const char *path)</div><div class="ttdoc">configure opensca.conf path. </div></div>
<div class="ttc" id="utils_8h_html_a06d995e3a20e2021fa6d90a90cd123ae"><div class="ttname"><a href="utils_8h.html#a06d995e3a20e2021fa6d90a90cd123ae">IntTOStr</a></div><div class="ttdeci">char * IntTOStr(int num)</div><div class="ttdoc">The operation convert an integer to string. </div></div>
<div class="ttc" id="namespace_c_o_n_s_t_a_n_t_html_ad7847c211da5f866989c9a050634fbf4"><div class="ttname"><a href="namespace_c_o_n_s_t_a_n_t.html#ad7847c211da5f866989c9a050634fbf4">CONSTANT::DMDPATH</a></div><div class="ttdeci">const char * DMDPATH</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.13-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_f225e4d86008d3e73336a06c8611e2b4.html">runtime_env</a></li><li class="navelem"><a class="el" href="dir_8f9a475dbd6b925c5ec1184392d41305.html">rte_utils</a></li><li class="navelem"><a class="el" href="dir_8a3d4f0e83014ff517f4732af5005de4.html">include</a></li><li class="navelem"><a class="el" href="utils_8h.html">utils.h</a></li>
    <li class="footer">Generated on Fri Jul 12 2019 14:31:53 for
    <a href="http://www.onetek.net">
    <img class="footer" src="openscaLogo.png" height="31" alt="openSCA"/></a>
    </li>
  </ul>
</div>
</body>
</html>
